<template>
  <div class="link">
    <a v-for="(v, i) in arr" :key="i">
      <img :src="v.src" :alt="v.alt" />
    </a>
  </div>
</template>

<script>
export default {
  computed: {
    arr() {
      if (this.$store.state.Home.link1.length != 0) {
        return this.$store.state.Home.link1;
      } else {
        return null;
      }
    },
  },
};
</script>

<style scoped>
.link {
  width: 332rem;
  height: 54rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-top: 7rem;
  margin-bottom: 17rem;
}
.link img {
  width: 160rem;
  height: 54rem;
}
</style>
